<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
	<head>
	<STYLE TYPE="text/css">
		<!--
		.deepsea
		{
		background-image: url({bg_image}) ;
		background-repeat:no-repeat;
		background-position:right top;
		
		}
-->
</STYLE>
	</head>
	<body>
	<div>
<table  align="center">
<tr>
	<td valign="middle">
	
<table border="1"width="800" style="background:#ffffff; padding 10px;" cellspacing="0" >
<tr style="border:none">
	<td width="100%" width="60px"colspan="4" style="border:none">
	&nbsp;
	</td>
	</tr>
<tr style="border:none">
	<td width="60" style="border:none;padding: 5px">
	&nbsp;
	</td>
    <td style="border:none; padding: 5px" colspan="2">{company_name}</td>
    <td width="60" style="border:none;padding: 5px">
	&nbsp;
	</td>
</tr>
<tr style="border:none">
	<td width="60" style="border:none; padding: 5px">
	&nbsp;
	</td>
    <td align="left"style="border:none; padding: 5px">
        {company_address}<br>
        {company_country}<br>
        {company_data}
    </td>
    <td align="right" style="border:none; padding: 5px"><strong>{invoice_lang}</strong><br />
	<br />
	<br />
        <table border="1" cellspacing="0">
            <tr style="padding: 5px">
                <td style="padding: 5px">{company_vat_reg_lang}</td>
                <td style="padding: 5px">{date_lang}</td>
				<td style="padding: 5px">{invoice_no_lang}</td>
            </tr>
            <tr  style="padding: 5px">
                <td style="padding: 5px">{company_vat_reg_value}</td>
                <td style="padding: 5px">{date}</td>
				<td style="padding: 5px">{invoice_no}</td>
            </tr>
        </table>
    </td>
    <td width="60" style="border:none">
	&nbsp;
	</td>
</tr>
<tr style="border:none">
	<td width="60" style="border:none">
	&nbsp;
	</td>
    <td align="left" style="border:none">
	<br />
       <table border="0" >
            <tr  style="padding: 5px">
                <td style ="border: 1px solid #000;padding: 5px">{invoice_to}</td>
            </tr>
            <tr  style="padding: 5px">
                <td style ="border: 1px solid #000;padding: 5px">{billing_address}</td>
            </tr>
        </table>
    </td>
    <td align="right" style="border:none"><br />
        <table border="0" >
            <tr  style="padding: 5px">
                <td style ="border: 1px solid #000;padding: 5px ">{ship_to}</td>
            </tr>
            <tr  style="padding: 5px">
                <td style ="border: 1px solid #000; padding: 5px">{shipping_address}</td>
            </tr>
        </table>
   </td>
   <td width="60" style="border:none">
	&nbsp;
	</td>
</tr>
<tr  style="border:none">
	<td width="60" style="border:none">
	&nbsp;
	</td>
    <td colspan="2" align="left" style="border:none">
	<br />
	<br />
       <table border="1" cellspacing="0" >
            <tr style="padding: 5px">
                <td style="padding: 5px">{order_number_text}</td>
				<td style="padding: 5px">{order_number}</td>
            </tr>
        </table>
		<br />
		<br />
    </td>
    <td width="60" style="border:none">
	&nbsp;
	</td>
</tr>
<tr  style="border:none">
	<td width="60" style="border:none">
	&nbsp;
	</td>
    <td  colspan="2" align="left" style="border:none;margin-bottom:0;padding-bottom:0">
       <table border="1" width = "100%" valign="top" cellspacing="0">
            <tr  style="padding: 5px; height:10px" align="center" >
                <td style="padding: 5px">{item_text}</td>
				<td style="padding: 5px">{description_text}</td>
				<td style="padding: 5px">{qty_text}</td>
				<td style="padding: 5px">{amaount_text}</td>
				<td style="padding: 5px">{vat_text}</td>
            </tr>
			{products}
        </table>
    </td>
    <td width="60" style="border:none">
	&nbsp;
	</td>
</tr>
<tr  style="border:none">
	<td width="60" style="border:none">
	&nbsp;
	</td>
    <td  colspan="2" align="left" style="border:none;margin-top:0;padding-top:0">
       <table border="1" width = "100%" valign="top" cellspacing="0" >
            <tr  style="padding: 5px" >
                <td> 
					<table border="0" align="center" width="425px" cellspacing="0">
						<tr height="" style="padding: 5px">
							<td style="padding: 5px">{rate}</td>
							<td style="padding: 5px">{currency}{vat}</td>
							<td style="padding: 5px">{currency}{net}</td>
						</tr>
						<tr height=""  style="padding: 5px">
							<td style="padding: 5px">{rate_procent}</td>
							<td style="padding: 5px">{vat_number}</td>
							<td style="padding: 5px">{total_price}</td>
						</tr>
						<tr height=""  style="padding: 5px">
							<td style="padding: 5px">{total}</td>
							<td style="padding: 5px">{rate_price}</td>
							<td style="padding: 5px">{total_price}</td>
						</tr>
					</table>
				</td>
				<td rowspan="2">
					<table border="1" width = "255px" align="center" cellspacing="0">
						<tr  style =" padding: 5px">
							<td style="padding: 5px"align="left"><strong>{subtotal}</strong> </td>
							<td style=" padding: 5px"align="right">{subtotal_price}</td>
						</tr>
						<tr  style =" padding: 5px">
							<td style="  padding: 5px"align="left"><strong>{vat_total}</strong></td>
							<td style=" padding: 5px"align="right"> {vat_total_summ}</td>
						</tr>
						<tr  style ="padding: 5px">
							<td style="  padding: 5px"align="left" ><strong>{total}</strong></td>
							<td style=" padding: 5px"align="right"> {total_price}</td>
						</tr>
						<tr  style ="padding: 5px">
							<td style="  padding: 5px"align="left" ><strong>{balance_due}</strong></td>
							<td style=" padding: 5px"align="right"> {total_price}</td>
						</tr>
					</table>
				</td>
            </tr>
			<tr >
                <td style="padding: 5px">{invoice_footer_text_lang}</td>
            </tr>
        </table>
    </td>
    <td width="60" style="border:none">
	&nbsp;
	</td>
</tr>
<tr style="border:none">
<td width="100%" width="60px"colspan="4" style="border:none">
&nbsp;
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</body>
</html>


